<%@ page import="bean.Person" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<%
    Person person = (Person) request.getAttribute("personData");
%>
<body>

  <h>人的信息</h>
    <p>编号：<%=person.getId()%></p>
   <p>姓名:<%=person.getName()%></p>
   <p>养的狗：<%=person.getDog().getName()%></p>

</body>
</html>
